package test;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.IOException;


public class FileInDirectory
{

	/**
	 * @param args
	 * @throws IOException 
	 * @throws FileNotFoundException 
	 */
	public static void main(String[] args) throws FileNotFoundException, IOException
	{
		File di = new File("C:/data/R1/matrix/ccr/2011/20111212-badHD/hr/out");
		  File fl[] = di.listFiles();

		for (int i=0; i < fl.length; i++)
		  {
		  System.out.println(""+fl[i].getName()+",");

		  }
	System.out.println("ok");
	}

}
